import { postReq,getBlobByFileStreamReq,successStatus } from "@/common/request"

export const getSuccessStatus=()=>successStatus

/**通过链接获取图片blob的请求*/
export const downloadImageApi=(url:string)=>getBlobByFileStreamReq(url)

/**导出excel的请求  */
export const exportExcelApi=(body:{header:ObjType,list:ObjType[],title:string})=>getBlobByFileStreamReq("/admin/common/exportExcel",'post',body)